package com.ant.backstage.service.impl;

import com.ant.backstage.dao.ActivitySuccessLogMapper;
import com.ant.backstage.facade.model.ActivitySuccessLog;
import com.ant.backstage.service.ActivitySuccessLogService;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("activitySuccessLogService")
public class ActivitySuccessLogServiceImpl implements ActivitySuccessLogService {

    private static Logger logger = LogManager.getLogger(ActivitySuccessLogServiceImpl.class);

    @Resource
    private ActivitySuccessLogMapper activitySuccessLogMapper;


    @Override
    public int insert(ActivitySuccessLog suLog) {
        return activitySuccessLogMapper.insert(suLog);
    }
}
